// ------------------------------------------------------ Naming ------------------------------------------------------
Name Supermarine Spitfire UK
ShortName Spitfire_UK
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconspitfire_uk
Model baf.spitfire_uk
Texture spitfire_uk
//Third Person Camera Distance
CameraDistance 10.0
HasGear True
ModelScale 1
RestingPitch 5.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Plane
//Throttle
MaxThrottle 0.7
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2
TurnRightSpeed 2
//Pitch modifiers
LookDownSpeed 2.8
LookUpSpeed 2.8
//Roll modifiers
RollLeftSpeed 2.8
RollRightSpeed 2.8
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.5
//Lift (A lift : mass ratio of 1 : 1 should keep the plane perfectly level at full throttle
Lift 3.2
//Mass (In tons)
Mass 2.7
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 10.0
//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 1.0
//Wheels
NumWheels 3
WheelPosition 0 16 -43 -29
WheelPosition 1 16 -43 29
WheelPosition 2 -152 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 0 0 0 nose Repair
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
ShootParticlesPrimary flame 0 0 
Secondary Bomb
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 3
ShootDelaySecondary 70
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 52 -10 55 core
ShootPointPrimary 52 -10 -55 core
ShootPointPrimary 23 -7 72 core
ShootPointPrimary 23 -7 -72 core
ShootPointPrimary 21 -5 93 core
ShootPointPrimary 21 -5 -93 core
ShootPointSecondary 0 -12 0 bay
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 1
BombSlots 1
MissileSlots 0
AllowAllAmmo True
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot -30 0 0
Passengers 0
flightCeiling 1550
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSoundPrimary BritSevenMM
ShootSoundSecondary bomb
PlaceSoundPrimary Spitfire_PlaceSound
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail
AddRecipeParts rightWingWheel 1 wheel
AddRecipeParts leftWingWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 white
AddDye 1 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 30 -26 18 -5 10 20 10
SetupPart airframe 76 -47 16 -10 101 27 20
SetupPart tail 30 -113 16 -7 66 27 14
SetupPart leftWing 37 -17 19 -103 38 8 93
SetupPart rightWing 37 -17 19 10 38 8 93

BulletDetection 10

//Collison Points
CollisionPoint 58 32 0 core
CollisionPoint 58 32 0 core
CollisionPoint 58 32 0 core
CollisionPoint 58 32 0 core
CollisionPoint 58 32 0 core
CollisionPoint 58 32 0 core
CollisionPoint 58 32 0 core
CollisionPoint 58 32 0 core
CollisionPoint -50 32 0 tail
CollisionPoint -66 32 0 tail
CollisionPoint -82 32 0 tail
CollisionPoint -98 32 0 tail
CollisionPoint -114 32 0 tail
CollisionPoint 10 21 -19 leftWing
CollisionPoint 10 21 -36 leftWing
CollisionPoint 10 21 -52 leftWing
CollisionPoint 10 24 -68 leftWing
CollisionPoint 10 26 -84 leftWing
CollisionPoint 10 27 -100 leftWing
CollisionPoint 10 21 19 rightWing
CollisionPoint 10 21 36 rightWing
CollisionPoint 10 21 52 rightWing
CollisionPoint 10 24 68 rightWing
CollisionPoint 10 26 84 rightWing
CollisionPoint 10 27 100 rightWing

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 20